package service.impl;

import dao.IReplyDao;
import dao.impl.ReplyDaoImpl;
import entity.Reply;
import service.IReplyService;

import java.util.List;

public class ReplyService implements IReplyService {
         IReplyDao ird=new ReplyDaoImpl();

    @Override
    public int addReply(Reply reply) {
        return ird.addReply(reply);
    }

    @Override
    public List getAll() {
        return ird.getAll();
    }
}
